package com.demo2.todo.service;

import com.demo2.todo.model.dto.ShareReviewRequest;
import com.demo2.todo.model.dto.ShareReviewResponse;
import com.demo2.todo.model.entity.User;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author evi
 */
@Service
public interface ShareReviewService {

    /**
     * 获取所有待审核的分享
     */
    List<ShareReviewResponse> getPendingReviews();

    /**
     * 审核分享内容
     */
    ShareReviewResponse reviewShare(Long shareId, ShareReviewRequest request, User admin);

    /**
     * 自动审核（敏感词检测）
     */
    boolean autoReviewContent(String content);
}
